VARS more readable
moved phi initialisation into the loop
back to unreadable VARS - otherwise compile errors