Fixed long2Mat_by_column method