I am on a very small display right now so I might be missing something...

It looks like having PS_1 and PS_2 and so on equaling TOTAL is the problem.
The PS_X's should be independent of the TOTAL. If all of the PS_X's are added together then they will equal TOTAL.