Guard Eigen for SWIG in GPU classes.
Merge pull request #2563 from iglesias/develop

Guard Eigen for SWIG in GPU classes.