Added optimization section to documentation