changed the way of passing accelerometer inputs (removed .toFixed())