mh loopy, remove ndimbox
removed ndim properly
refactored common, made isapprox work work with intervals and floats and fixed refinement down to the precision float