code with working training model - several discussions on the class forum were critical such as the parallel processing settings and use of PCA lecture slides 12-14 of 15 as well performance timing ~12m with 4 cores