refactored code to allow for expansion
Merge branch 'master' of https://github.com/twhughes/FDTD_JS