To add user lens correction, perhaps have a look here Lens correction with modern cameras - #6 by jose-lens