* Fixed divison by zero
- Removed unused variable