Archive of the work done on issue #3 These function comments are probably not necessary anymore, at least not for me. I might reopen this and merge them into the development at a later stage to help anyone taking over this work. In any case, whoever sees this can do that themselves.