adds createSignalPdata

adds createSignalPdata which creates a datastructure used for HMM-NN
hybrids when doing inference