Momentum term added. [NOT SURE ABOUT CORRECTNESS]