Optical Magnetometry With Nitrogen-Vacancy Centers In Diamond