Adding source code.

CT & MR reslicer logic.