Programmed cell formulae in new prototype

Programmed reverse lookup and absolute referencing in the new main
prototype.
Also did a few updates to test the mechanics.