Investigation reveals cause of pipeline leak in northern Kansas