Made everything, as far as possible for n dimensions....