added lattice testing and program to create con files from tables of categorical data