Added couple of Math functions