Improved Performance

Some inlining (minor improvements).
Added some earlier rejection of moves.  Moved checks in IsValidMove to
the GetMoves method.