more work on the new DL vectorized HiddenLayer class