fixed data acquisition and added other two axes