saving/loading mlp coefficients