added output layer weight restoration to nonstationary trainer