Fixed a bug in the polarity code and update WireMap with initial polarities and pedestal for FADC80 and BU CAEN