>> 38 Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)