Add new flags 'p' and 'P' to set size and density scale at the poles
Make sure that we pick the correct GPU before configuring parameters