cor: provide the cost function output
When computing a cor it would be interesting to have an option to provide this output.
Use case to consider:
- simple cor algorithm run once
- multi-cor algorithm run once.
When computing a cor it would be interesting to have an option to provide this output.
Use case to consider: