import numpy as np def fix_sign(v): raise NotImplementedError def power_iteration(M, v0, num_iters=200, tol=1e-10): raise NotImplementedError