Added updated model

Added updated model configuration files and a few R functions