Removed one use of cv_predict function. Program was calculating same value twice.