Now it compiles!!!11

Lots of changes to get it to compile. Array index and lenght defined by enum, fixed enum indexing acordingly, removed converter and put a simple hackish function instead... not pretty but seems to work. Singled out one version of the newVertexGroup call. Put parenthesis back on some function calls (to compile on nimrod master). Probably other things I forgot to mention.
Moved conversion to GLfloat array to newVectorGroup

Shorter newVectorGroup invocation and possibly better performance. I tried to use 'varargs[openarray[TNumber]' as parameter type, but got errors, so I settled with something less generic.