Create LDna_functions

Two of the main scripts for LDna