Implemetns the base type Rectangle for high-dimensional rectangle objects (hyper-cubes) and extentions for different coordinate types (double, float, long).