Debugs cross validate function and successfully identifies best classification threshold