I have added both frontend and backend for the correlation coefficient.
are all of them needed?
<= contradicts error message. Can std be < 0? (fix everywhere)
"atleast" -> "at least" (fix everywhere)
you can combine all conditions in one if-statement