Add continuous array accessors for selection data.

It is now possible to access most selection data (coordinates, masses,
etc.) as continuous arrays for easier use with functions that expect
C arrays as input.

Change-Id: I285b4ff79137e2ca57c8e40b426b364572e3c13e