Field Optimisation in GasPix Detectors