Magnetometry And Imaging With Nitrogen Vacancy Centers In Diamond