No more crashes, only wrong matrix sizes