Original: c simple program for correlation matrix calculation
Simplified: c simple program for working out a correlation matrix