A population matrix model and population viability analysis to predict the fate of endangered species in highly managed water systems