Toward accurate computations in photobiology