bug fixing for input backup
update the overloading of relational builtins
i.e. B1 = B > 0, where B is a double array and B1 is a logical array,
in Fortran, use WHERE construct to support this.