Removed diagnostic prints

Updated code to remove diagnostic prints to console