Several changes and fixes for the first alpha!

• Rewritten the method of movement’s calculation
• Code speeded
• Removed unnecessary and redundant steps
• Reduced the number of variables