changed algorithm to rprop