def calculate_distance(position_1, position_2):
	""" Returns distance between two points or 1-dim and 2-dim vectors
	input:
	position1 -- int or 1-dim or 2-dim matrix
	position2 -- int or 1-dim or 2-dim matrix
	position1 and position2 must have the same dimension
	"""

	distance = position_2 - position_1