Partial conversion of grobner.
Pushed so ohters can try and work on remaining errors.

Signed-off-by: Eric G Taucher <researcher0x00@gmail.com>