Avoid error when no angles
Bugfix+test. Correct shape when no matching dihedral angles