clean up code - minor bug removed - improved propagation through earth (paper02)