Added a stricter definition of rotatable bonds as a new function in the CPP, Python, Java and DB cartridges