Revert "Revert "Added a line to calculateFinalPercent()""

This reverts commit 05c0792211b41d2622bb7fad64db8fa6a43df44b.