Correct bool/int conversion; correct vector splitting
Correct bool/int conversion; correct vector splitting

madscientist159/vecmathlib,madscientist159/vecmathlib,madscientist159/vecmathlib,madscientist159/vecmathlib