Restricted boltzmann machine and backprop network for modeling watermaze behavior