added photoreceptor and did some fixes in LPU, all other edits are syntax related. The example runs without errors but the output is probably wrong. Needs check