Remove notes; refactor/simplify standard-deviation-calculation algorithm