Theory to Practice of Localization Microscopy