Features/refactor correlation analysis backend

Refactored Correlation Analysis backend to use grails helpers instead of R to create intermediate file.