Added compatible method to Quantity and made it context aware

- Rename equivalent to compatible

See #89