some initial density groundwork
added old.dens (TRUE by default) to facilitate testing the new objective functions
implemented ml cv function for unconditional density
tweaked return values for ml so that they correspond to the true
likelihood