Add debug output for rotation and displacement
Only rotate around rotatable bonds