Equivalence fixed, segfault gone, and I even added a .transpose() function.