MAINT: remove calc_lwork

closes https://github.com/statsmodels/statsmodels/issues/2159