#176 Refactored to_double, now works on MATLAB
#176 Refactored to_int
#176 No cast of sparse scalar matrices to int, double
This is how it worked before. Without this, the unit tests fail.
#176 Refactored to_MX
#176 Added back typemaps for int and double on MATLAB
They work now after refactoring. The usefulness is still questionable but it's better if MATLAB and Python work the same way.