added cluster for defining error generation for clusters.
inverted bit to change from index to bit shift, improving efficiency of error check
build
updated UI to handle diagnostics
build