Useful wrappers around core.matrix functions.
Changed to use my otherzeros branch of core.matrix
In-progress revision to allow non-Double number use