For what purpose are these matrix calculations? If it's for realtime graphics like OpenGL (or scientific calculation), you should switch to static arrays not dynamic.
Vector=Array of Extended;
Matrix=Array of Vector;These definitions alone are enough to cripple your performance. It's fine if you draw only a couple hundred transformed cubes, but when it comes to big landscapes and joint-animated characters, you would quickly get in trouble.