started leaf conductance script

added several formatting functions to the functions script

need to fix nchar in shade...something is off