updated stepminer R script to include mean and median plotting