Wells Fargo & Co. agreed to make an estimated $2.4 billion in mortgage modifications for California homeowners with "pick-a-payment" type adjustable-rate loans, as part of an agreement with the state's attorney general.