Complete the perplexity functions (border condtion checking, input table
checking, etc)
fix a data table name cheking problem
change .. to ... in log messages