worked on model2; no more sampling input, h_chain cleaned up, borrow in theano functions