remove NAs when computing yhat()
add miscTools to imports