Can't remember what I changed but now it works for different values of phi
and for higher values too!