Fixing deltaW calcs, adding in var for training inputs or not, adding in testdata.mat