REF: rename torus to ring because these are all 1D now, not nD; LNT: clean up unused imports; LNT: clean up needless parens around assignments to if/else exprs; LNT: temporarily suppress warnings about a) camel-case idents because I'm still porting from ruby, b) dead code, because tests are by no means complete.