added param plot example
updated imdiagnostics