Assignment on data science track Coursera: accelerometers from the Samsung Galaxy S smartphone