2D difference script for comparing class averages