typo. also theta => radius (rusty math)
reorder rubyish grammar. comments and whitespace now last