Created unit test for viewshed. Moved viewshed to op/global