New macro to calculate the average polarization
updated macros
added files for correcting W- separately from W- (used for tests)