Investigation of various factors affecting encapsulation on the In-Cap automatic capsule-filling machine