added max/2 arithmetic function - resolves #98