Fixed axis bug. Added size variables.