Fixed number negation bug
Added finite sum function