renamed to optimize.model to avoid conflicts
fixed StDev problem
correct citation
optimize.model function
remove