Migration to Matlab's built-in matrix operations.

theoretically, it should be faster
Removing unneccessary comment.