Add 3d correlation based on blas matrix multiplication 

need to doc depth