Added two scripts for learning replacement weight matrices.