Fix gl plane feature

Fixed GL plane feature not respecting the GCS along with some other fixes. 
I see.  I think all of these if statements should check for length equality rather than equality modulo 2 or 3 to be more explicit.