Symmetry cost calculation. The input is the edge of skull. The difference between distances from each side to the rotation center line is calculated and summed for all rows. The smaller the symmetry cost, the better the symmetry. The l1 and r1 actually begins at the top line of the skull (the ellipse), l
are actually on the last row of the skull.