added right hand rule solver
pulling nathan's changes