codeMarkers function

Code and impute markers