Add 3d correlation based on blas matrix multiplication 

pep8: no space around = in keyword parameter.