Snapshot

Attempted to make parallel fixes for bias update, weight decay in the
GPU version of rbmstack. Not tested.