added Math method match(value, min, max).