Split map_gst_sample up to separate numpy from gst bits
Misc fixes so make check works