Spatially Varying Mass Function of MACHOs in the Galactic Halo and Interpretation of Microlensing Results