bug fixes to rescale function, readme changes, and note restriction implementation