move zenith to learning as inference (but maybe shouldnt be)