Fixed Point Iteration Method Python