Removed unused variable beta from SD solver