adding cost, etc. to ConvRectifiedLinear in mlp.py