Include the full DAC scan trimming for PS modules
This adds the full DAC scan functionality for PS modules as outlined here: https://indico.cern.ch/event/1125607/contributions/4724689/attachments/2529542/4355724/PSCal.pdf
I did not end up using the scanDac function as the current method includes early stopping for better time complexity and also a better space compexity. Also added with this merge are new methods for automatic masking for either untrimmed or noisy pixels.