DBN.refine() should now default new layer parameters cd_n, weight_cost, and momentum_decay to values from the first layer (if not provided).