implemented split offset, initial commit
various fixes
new file autophase_demo.m
various fixes
changed default offset