added stuff for working with the particle extraction planes.