redisigned gmresdr solver. refined the eigcg code. magma library includes pure lapack calls