Fix rop dot

This is a PR concerning the bug Jeremiah Lowin reported on 16 Oct. 2013. The bug refers to the inconsistent treatment of None as a placeholder for a non-differentiable path in the computational graph.