energy formulae for double pen now outputting sensible results. progress bars debugged for single and double pen