Added writing to file: tau and visibility function
Further enhancements: ADDED ABSOLUTE VALUE CONDITION
Finished all functions, but problems with endpoints of tau', tau''
Reduced writing to screen