Fixed resize issue, added equation / angle finding