Altered the call to subdivided_hyper_rectangle so that I choose how many repititions in each direction. This will give an equivalent answer to what was there, but it is easier to understand.