replaces .begin and .end with std::begin/std::end

there were a couple still in there preventing static sized array
compatibility