added a check in the DBN parameter averaging unit test to make sure the hidden layers were updated correctly