Remove extra TextUtils call; whitespace
Add double-weighted mean for future use