Fixed pathfinding bug.
TerrainMaterial is a class name...
Added arch to test shapes.