first commit for cross validation; common command line interface for regular run and cross validation
cross validation running well on a small sample
allow creation of network and prior from pandas dataframes