functionalities added
imaginary potential added (need testing)