A Framework for CAPM with Heterogeneous Beliefs