Require math.
Added conversion to Rubygame::Color.
Added within_bounds? method.