implemented reverse and a few more conv net functions