Teleport to nearest biome

Beginning work on the command that teleports you to the nearest biome -
I've got the teleporting part ready, just need to play around with
finding the correct biome...