moved matrix_of method to ClassMethod module