Fixed arrayindexoutofbounds
Merge branch 'master' of https://github.com/ck1456/Agonizer
fixed some issues with agony calculation