Bayesian method for recovering surface and illuminant properties from photosensor responses | Synapse