On preconditioning and penalized matrices