Cohesive Energy and Elastic Constants of MgO with Partially Scaled Wave Functions