Added routines for energy and creating initial configurations.