PEP8 fix.
Compare arrays using native numpy function.
Add test for GP alpha cache.