Numerical calculation of elastic pinning parameters by point pins