An Introduction to Dynamical Systems: Continuous and Discrete, Second Edition