optimal estimation homework