added NaN returns for divide-by-zero-inducing statistics
fixed imean for case of equal precision & recall