Matrix : remove some useless alerts and fix some problems

Matrix.js
- calcDeterminant now for every size ( not tested)
- copy only leftsub, right up, or diag matrix