Restore matplotlib as optional dependency and improve `exec_time`

Philipp Arras requested to merge exec_time into NIFTy_8

Merge request reports