Implementing Restricted Boltzmann Machine with .NET Core