Cleaning up some code of CalcSourceValue (PULSE)

I have cleaned up some unnecessary code in this function;

Have also improved some comments