Text this: A modified Adam algorithm for deep neural network optimization