Changed the mod to pviz so that it checks if there are 8 or 9 angles....this is untested