implemented PWM alignment using the P-MATCH algorithm