Fixed small bug. Somehow forgot that zero indexed vectors is a thing