added switch for signed squared cross correlation