Optimise getTileInfo()

getTileInfo() ~1.5x faster
getSmoothLight ~2.0x faster