Added proper variable declarations
Fixed typo
Added tests to ensure input values are reasonable
Fixed mistake to properly define hanging wall and footwall velocities