Smartphone to help diagnose cancer