Fix for non-orthorombic cells
Regtest (with non-orthorombic cell)