rework bearings to use tolerances, apply pep8, and add some debugging aids until we have unit tests