Added starttime and fixed some bugs. WIP
Fixed more bugs, starttime results are wrong phase currently. WIP
Fixed some array alignment, less nans now. WIP
Fixed the nans caused by array alignment. Fixed other stuff. pha_err is still wrong. WIP
Starttime finished. Note: pha_err can vary, as in ttide matlab, proportional to snr.