Some changes to a* and added a commented out version of a better nodeid-to-gridcoord