Environment for fitting demographic forecasting matrices