Started work on lmtrain()

For Levenberg-Marquardt optimisation,

changed Δ_new/Δ_old to Δw_new/Δw_old to avoid confusion with Δe
variable in lmtrain()