for c2a1p3, implemented file readin, threshold checking, and correlation calculation, doesn't give correct output values