Started implementing kernel estimation method.