Updated  for more features

Included more std deviation features