Get std err not standard deviation
Get std err not standard deviation

Also added some freeing of memory.

Signed-off-by: Kim Jones <160cf344c1362ca60c9492925665d2bb268437e5@edu.salford.ac.uk>

kimmariejon3s/rt-blind-estimator