uhh. getting the inverse of a matrix is very hard! i surfed for several weeks to find out how. here's my vector and matrix code: http://graesdal.dk/mark1.zip

i just made it simple if you would want to compile it just straight away. you can remove cpu1 and vectors units if you don't need them. the matinverse function should be pretty easy to just cut and paste out of there if you need it..

happy coding,
Jeppe :roll: [/url]