A numerical approach for investigating the stability of equilibria for structured population models