Separate arrays for hidden and visible unit activations. Get rid of redundant const accessors.