Method and apparatus for determining mud contamination of formation fluid