basic transition matrix setup using nested dicts