Branch for merging of bits of FS-3 histeresis model based on work from @zoldival @arshgupta54 and @evajain02-cloud.