Performance improvement to energy_surf(). Now only one DataFrame concat operation is performed during the calculation, reducing spurious copies.