Restricted Boltzmann Machine Implementation in C#