Functions for analysing data#

CONTENT STILL HAS TO BE ADDED…