Manual improvements
Calculates index precision right
Merge branch 'master' of github.com:codingluke/prg_3