close #6

added validation with error mesg, if mcruns value is zero update doesn't
take place (negative or double values are not allowed anyway)
Merge pull request #156 from fgiannar/develop

close #6