Merge pull request #13 from tomedunn/master

More intrinsic functions/subroutines. Better rule consistency. Fixes #10 #11 #12.
Prepare 1.2.1 release