[inline]
Copy function that copies another type of matrix.
This is used to copy another class of matrix (e.g. matrix integer) to this (double) matrix class