Added: variance function; Fixed: line twister - not satisfied, but it's passable.