Continuous and discrete ancestral character reconstruction and