Compatibility and bug fixes + code and minor computational improvements.