Model-based Reinforcement Learning with Neural Network Dynamics