add stretch
stretch with scalar expansion
check for matching array length
Merge pull request #42 from piti118/stretch

add stretch