A tutorial on Principal Components Analysis