Fixed high memory allocation rate due to collecion iterators by moving to arrays in the emulated goal calculators.
Also added Javadoc comments to become warning free in that code