use radians
rewrite center axis--not working, but better than before
fix trailing whitespace
use center_axis method
fix whitespace