Fixed several movement bugs and added working sword attacks