Update to HyperWindow to work for ND arrays where N > 3