PPS VHDL reconfigured. Fixed issue where the pulse count could go over by 1.