added arithmetic_function/1 - resolves #30