UPDATE: phi is constrained within zero to pi

Signed-off-by: Supin P Surendran <supinps@gmail.com>