added file STanalysis.m which is in progress