Added A B C D and learningrate to params