Horizontal Visibility Graphs map a time series into a complex network.
Following Luque, B., Lacasa, L., Ballesteros, F. and Luque, J., 2009. Horizontal visibility graphs: Exact results for random time series. Physical Review E, 80(4), p.046103.
ATTENTION: This function is still in development and needs further testing!