CODE OBSOLETE!!!!!! (Replaced by diracsolver).