Speeded up correlation, related variables and other functions