Change x[1:] to x[1:end] to silence deprecation warnings
Merge pull request #15 from staticfloat/sf/depwarn

Change x[1:] to x[1:end] to silence deprecation warnings