Fixed lat_ts bug, local tuning.
Documentation update