important fixes in read_class: selection is based on angles in range
[0,180] (since the scans should be boustrephedonic, we don't care about
180-360)