correct parenthesis mistake
add return zero value outside of simulation area