Modeling nucleosome mediated mechanisms of gene regulation