docs: private static double wrap(double n, final double minValue, final double maxValue, final double interval) {
  		if (minValue > maxValue) {
  			throw new IllegalArgumentException("minValue must be smaller than maxValue: "
  					+ minValue + ">" + maxValue);
  		}
  		if (interval > maxValue - minValue + 1) {
  			throw new IllegalArgumentException(
  					"interval must be equal or smaller than maxValue-minValue: " + "min: "
  							+ minValue + " max:" + maxValue + " int:" + interval);
  		}
  		while (n < minValue) {
  			n += interval;
  		}
  		while (n > maxValue) {
  			n -= interval;
  		}
  		return n;
  	}