Check that input to mvfd is in matrix format
matrix.check(in.mat)
in.mat
An input to be tested for matrix formatting