Rapid online mineral slurry analysis