NN analysis class udpated

Read and write RMSE and MSE. Analysis classes created. NN class
cleaned.