-added reflecting boundaries
-user input check
-benchmark macro