Added files for misc functions
Initial code for building profile matrix during evaluation of log likelihood