Proper Shuffle solutions

Proper Shuffle was solved using MATLAB by 2 contestants. Solution sizes: average 900 bytes (shortest: 894; longest: 907).