Implemented corner_fast_orientation function