Separated internal and external functions for lbuxton-simp

Created separate header and c files for internal library functions used in
lbuxton-simp.c Renamed functions to indicate that they are for internal use.