Optimal Monetary Policy in a Heterogenous Expectations Framework