Optimization of a Spatially Varying Cardiac Contraction parameter using the Adjoint Method