calculating energy needs