Update blocks.py
if 0 removed
if 0 removed
if 0 removed
if 0 removed
Update linear.py
Merge pull request #835 from saebrahimi/remove_dead_code

Update blocks.py