Small optimizatinos to LocalCorr

- Removed unnecessary print
- Get dimensions in one pass