Reduced number of error cases by properly implementing operations with non-measurements

Also added instructions in the beginning