mods to corect 3bp derivative, still segfaulting ...