All version work!

All versions work!
All Versions Working!
Merge pull request #9 from emblaser/J-fix-v2

J fix v2
Removed small redundancies and provided comments