Modeling the Links Between the Chemical, Electrical and Contractile Calcium Dynamics in a Heart Cell