Fixed another indexing bug in total power output code. Seems to work now.