Made a start on implementing one-sided kde