power supply noise improved homing + tests

-Faster method for homing in a PSN target
-test function for calc_psn to make sure it's being used the way we
intend (spoiler: seems not)