Vectorizing mscr matrixes.
using class for pos and color.
Cleaning some unused commends.
Slowly vectorizing the mscr
commenting some couts
more vectorization
looping the filling of the mscr vector
passing the vector by reference to the dist function
Filling the matrices
Filling full matrices
Measuring timing in release mode: super! got 190 milliseconds (matlab implementation 2.016 seconds)