started to move momentum calculation from ReadWrite to GlobalData and BasicOperator