Added rebin of q workspace and creation of q workspace