MAINT: changed nx and ny parameters of dgeocomps to be optional.