added option for squared cross correlation to factory + convenience constructors