Added extra functionality for PyCheMPS2.