Implemented all geometric functions (albeit in a very non-DRY way)