get.Amat: Computation of the approximated penalty matrix.
Description
The function get.Amat computes and returns
$$\mathbf{A}_\lambda = \sum_{j=1}^J \frac{p_{\lambda,j}'(|\mathbf{a}_j^\top \boldsymbol{\beta}|)}{\sqrt{(\mathbf{a}_j^\top \boldsymbol{\beta})^2 + c}}\mathbf{a}_j\mathbf{a}_j^\top,$$
where $c > 0$ is a small real number. However, this function is primarily intended for internal use. It acts as a link between penalty
objects and methods which require the approximated penalty matrix $\mathbf{A}_\lambda$.