add misc.jl: some tools for MC estimates and other.