polished the assert function and added an boolean macro for ease. Pondering how to detect when the saddle energy is zero.