Gate Orientation Class with Linear Algebra Demo Class