Changed mean to median center of mass
Tidied up and included a way of selecting quadrants for subject fish