Added statistical analysis to imgtrack.m