instruments added

measure function, updated documentation