Low-dimensional representations of neural time-series data with applications to peripheral nerve decoding