Lots of comments added to phot and trackSmooth, some functionality in trackSmooth streamlined