Added extra parameters to method matrix.fromMMap