i did not make the same real to double correction for the fem_update function. fixed now