implemented CA chirality check functions