Get schemas from NDArray. Add flatpixel format with last events from ngem.
We now get the events from NDArray->pData instead of attributes since we found out that the attributes didn't accept vectors. Also, the pflatpixel format is updated to include events for the last hits (LastY and LastX from the detector).