[PLAT-6604] Changed varibale names to coherent names conventions. Added Javadoc. Corrected investment factor to start at 1.0 (instead of 0.0).