Remove small terms from models before comparing, this fixes potential numerical instability.
Closes #49 (closed).