added Serializable interface to HiddenLayer