Added i2S.m
more error fixes, some plot tools