Dump a grid to a pdb file at a given iso value, basing on the code from mdpocket/fpocket