Moved brace position.
Minor changes.
Minor changes.
Wrote Min Max and Clamp helpers.
Wrote ApplyStudy.
Added 'source' parameter for 'ApplyStudy.'