Changed POTIM error handler to change relaxation to damped-MD if potim is too low, as per Kresse recommendation. Also added test cases for POTIM error handler