added parameters and changed behavior when training fails with ROS_ERROR
saving model works - reading tbd
loading and saving models works for 1D methods