Added a class to convert a window containing accelerometer samples to arrays - x, y, z, square