added imperial units and function that converts them to metric