Created a circular buffer to store the data received from the PerturbApp.