removed unnecessary conditions in CreateHomalgMatrixFromList and HomalgMatrix