Computes the Hitchin map