Added Mode.R, which computes statistical mode function.