three dimensional linear switching systems