Create dots2.m

Final measurements code.