small edits
adding ray utility for geometric extended Euclidean algorithm