Corrected error in getPerpCoupling

and new cleaning routine