Moved domain_size methods to cubic, and made the methods in GenericNetwork raise a NotImplemented area