Created Dip analysis script