kaldi-unsupervised/vimal: Added a test function to check lattice forward backward for computing entropy and derivatives