failureDistribution in inputschanged to distributionType for coherenece
Main script and Failures editted to match new notation