fixing bilinear me

Todo: fix the printing output, run and check.