Added interlayer coupling to updateEnergy method in O6_Model class