slight update to calc_F.m
fixed issues in calc_RT so that the solution.  the prior implementation did not filter the 4 possible results.