Added initial coerce and math functions