func New(limits ...float64) Range {
	if limits == nil || len(limits)%2 != 0 {
		return nil
	}
	r := make([][2]float64, len(limits)/2)
	for i := range r {
		r[i] = [2]float64{limits[2*i], limits[2*i+1]}
	}
	return r
}
New creates a new Range.

It accepts a sequence of min/max pairs that define the Range.
For example a 2-dimensional rectangle with the with 2 and height 3, starting at (1,2):

r := NewRange(1, 3, 2, 5)

I.e.:
x (dim 0): 1 <= x <= 3
y (dim 1): 2 <= y <= 5
package kdrange
type Range [][2]float64