Fixed Mem leak
Added Matrix Mult stuff
Renamed some functions