LandTrendr Code (from /projectnb/trenders/code/LandTrendr2012)