CRAYM: Neural Field Optimization via Camera RAY Matching 1