First steps to remove old weights, added test for CG and RPROP