added scratchpad of factor stride and IndexOfAssignment
added function variableStride and IndexOfAssignment; initial commit