Create TRICENTR.c

incomplete

must add (1) dynamic input , (2) output precision