Casimir Energy of a Non-Uniform String