trying to figure out how to get a struct with arrays onto the gpu