How are interest and fees calculated when offering margin funding?