Implemented normalizedCovariance ***BUT*** templates needs to happen before it returns the proper values