added jointlearner, extended model. runs real slow now, maximizing in a 300K size space